/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package beans;

/**
 *
 * @author appi
 */
public class Custemer {

    private String cfname;
    private String clname;
    private String cemail;
    private String cpassword;
    private String cadd;

    public String getCfname() {
        return cfname;
    }

    public void setCfname(String cfname) {
        this.cfname = cfname;
    }

    public String getClname() {
        return clname;
    }

    public void setClname(String clname) {
        this.clname = clname;
    }

    public String getCemail() {
        return cemail;
    }

    public void setCemail(String cemail) {
        this.cemail = cemail;
    }

    public String getCpassword() {
        return cpassword;
    }

    public void setCpassword(String cpassword) {
        this.cpassword = cpassword;
    }

    public String getCadd() {
        return cadd;
    }

    public void setCadd(String cadd) {
        this.cadd = cadd;
    }

    public String verifyLoginData() {
        String msg = "";
        if (this.cemail == "") {       //if(this.cemail.equals(""))
            msg += "please enter email";
        }
        if (this.cpassword == "") {
            msg += "please enter password";
        }
        return msg;
    }

    public String verifySignUpData() {
        String msg = "";
        if (this.cemail == "") {
            msg += "please enter email ";
        }
        if (this.cpassword == "") {
            msg += "please enter password ";
        }
        if (this.cfname == "") {
            msg += "please enter your first name ";
        }
        if (this.clname == "") {
            msg += "please enter your last name ";
        }
        return msg;
    }

    public String verifyForgotPassData() {
        String msg2 = "";
        if (this.cemail.equals("")) {
            msg2 += "please enter your password";
        }
        return msg2;
    }
}
